import { createApp } from 'vue'
import 'normalize.css/normalize.css'
import '@assets/css/free.css'
import '@assets/css/theme-default.scss'
import '@assets/css/theme-orange.scss'
import '@assets/css/theme-purple.scss'
import './assets/fonts/iconfont.css';
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import i18n from './locales'
import { Picker, Popup, OverLay,Icon,Cell,CellGroup ,Cascader, Tabs, TabPane,DatePicker,InfiniteLoading,Calendar} from '@nutui/nutui';
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

const app = createApp(App)
app.use(Picker).use(Popup).use(OverLay).use(Icon).use(Cell).use(CellGroup).use(Cascader).use(Tabs).use(TabPane).use(DatePicker).use(InfiniteLoading).use(Calendar)
app.use(pinia).use(router).use(i18n).mount('#app')

